//
//  Zombie.m
//  付剑英-02
//
//  Created by dllo on 16/2/25.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "Zombie.h"

@implementation Zombie
-(void)sayHi{
    NSLog(@"type:%@,totalBlood;%ld,loseBlood:%ld",_type,_totalBlood,_loseBlood);
}

-(void)settype:(NSString *)type{

    _type = type;
}
-(NSString *)type
{
    return _type;
}

-(void)settotalBlood:(NSInteger)totalblood{
    _totalBlood = totalblood;

}
-(NSInteger)totalblood{
    return _totalBlood;
}

-(void)setloseBlood:(NSInteger)loseblood{
    _loseBlood =loseblood;
}
-(NSInteger)loseblood{
    return _loseBlood;
}

-(instancetype)initWithtotalBlood:(NSInteger)totalblood loseBlood:(NSInteger)loseblood{
    self = [super init];
    if (self) {
        _totalBlood = totalblood;
        _loseBlood = loseblood;
    }
    return self;
}



















@end
